package com.wardrobe.soa.common;

/**
 * Created by Administrator on 2017/11/30.
 */
public class PageInfo {
   private int index;
   private int pageSize=50;
   private int curPage=1;
   public int getIndex(){
      return (curPage-1)*pageSize;
   }

   public void setIndex(int index) {
      this.index = index;
   }

   public int getPageSize() {
      return pageSize;
   }

   public void setPageSize(int pageSize) {
      this.pageSize = pageSize;
   }

   public int getCurPage() {
      return curPage;
   }

   public void setCurPage(int curPage) {
      this.curPage = curPage;
   }
}
